﻿using System;
using System.ComponentModel;
using Xyz.BusinessObjects.Validation;

namespace Xyz.BusinessObjects
{
    public class FlightSeat : BusinessObject
	{
        public FlightSeat()
        {
            AddRule(new ValidateMandatory("FlightId"));
            AddRule(new ValidateMandatory("AircraftSeatId"));
            AddRule(new ValidateMandatory("Status"));
           
           
        }
        public int FlightSeatId { get; set; }
        public int FlightId { get; set; }
        public int AircraftSeatId { get; set; }
        public string Status { get; set; }
        //public AircraftSeat AircraftSeat { get; set; }
	}
}


